package com.hlf.modules.oss.service.impl;

import com.hlf.modules.oss.mapper.SysOssMapper;
import com.hlf.modules.oss.entity.SysOssEntity;
import com.hlf.modules.oss.service.SysOssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("sysOssService")
public class SysOssServiceImpl implements SysOssService {
    @Autowired
    private SysOssMapper sysOssMapper;

    @Override
    public SysOssEntity queryObject(Long id){
        return sysOssMapper.queryObject(id);
    }

    @Override
    public List<SysOssEntity> queryList(Map<String, Object> map){
        return sysOssMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map){
        return sysOssMapper.queryTotal(map);
    }

    @Override
    public void save(SysOssEntity sysOss){
        sysOssMapper.save(sysOss);
    }

    @Override
    public void update(SysOssEntity sysOss){
        sysOssMapper.update(sysOss);
    }

    @Override
    public void delete(Long id){
        sysOssMapper.delete(id);
    }

    @Override
    public void deleteBatch(Long[] ids){
        sysOssMapper.deleteBatch(ids);
    }

}
